/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package monitoring.beans.database;

/**
 *
 * @author Regulus
 */
public class LocalityElement {
    private Integer idLocalityElement;
    private Locality locality;    
    private StateProvince stateProvince;
    private Country country;
    private Municipality municipality;
    private String locationRemark;
    private String verbatimElevation;
    private String coordinatePrecision;

    public String getCoordinatePrecision() {
        return coordinatePrecision;
    }

    public void setCoordinatePrecision(String coordinatePrecision) {
        this.coordinatePrecision = coordinatePrecision;
    }

    public Country getCountry() {
        return country==null?new Country():country;
    }

    public void setCountry(Country country) {
        this.country = country;
    }    

    public Integer getIdLocalityElement() {
        return idLocalityElement;
    }

    public void setIdLocalityElement(Integer idLocalityElement) {
        this.idLocalityElement = idLocalityElement;
    }

    public Locality getLocality() {
        return locality==null?new Locality():locality;
    }

    public void setLocality(Locality locality) {
        this.locality = locality;
    }

    public String getLocationRemark() {
        return locationRemark;
    }

    public void setLocationRemark(String locationRemark) {
        this.locationRemark = locationRemark;
    }

    public Municipality getMunicipality() {
        return municipality==null?new Municipality():municipality;
    }

    public void setMunicipality(Municipality municipality) {
        this.municipality = municipality;
    }

    public StateProvince getStateProvince() {
        return stateProvince==null?new StateProvince():stateProvince;
    }

    public void setStateProvince(StateProvince stateProvince) {
        this.stateProvince = stateProvince;
    }

    public String getVerbatimElevation() {
        return verbatimElevation;
    }

    public void setVerbatimElevation(String verbaTimeElevation) {
        this.verbatimElevation = verbaTimeElevation;
    }

    public LocalityElement(Integer idLocalityElement, Locality locality, StateProvince stateProvince, Country country, Municipality municipality, String locationRemark, String verbaTimeElevation, String coordinatePrecision) {
        this.idLocalityElement = idLocalityElement;
        this.locality = locality;
        this.stateProvince = stateProvince;
        this.country = country;
        this.municipality = municipality;
        this.locationRemark = locationRemark;
        this.verbatimElevation = verbaTimeElevation;
        this.coordinatePrecision = coordinatePrecision;
    }

    public LocalityElement() {        
        this.locality = new Locality();
        this.stateProvince = new StateProvince();
        this.country = new Country();
        this.municipality = new Municipality();
        this.locationRemark = "";
        this.verbatimElevation = "";
        this.coordinatePrecision = "";
    }
    
    
    
    
    
    
    
    
}
